package com.wu.mvp.module.main;

import android.view.ViewGroup;
import android.widget.TextView;

import com.wu.mvp.R;
import com.wu.mvp.widget.recyclerview.adapter.BaseViewHolder;

public class TestViewHolder extends BaseViewHolder<String> {

    private TextView tvContent;

    public TestViewHolder(ViewGroup parent) {
        super(parent, R.layout.item_test);
        tvContent = $(R.id.tv_content);
    }

    @Override
    public void setData(String data) {
        super.setData(data);
        tvContent.setText(data);
    }
}
